///测试环境
// const debugBaseUrl = 'https://rlapitest.flexolinkai.com';
const debugBaseUrl = 'http://120.78.95.74:9122';
const debugMqttBaseUrl = '120.78.95.74';
///阿里云图片服务器
const aliyunFileUrl = 'https://rlkj-test.oss-cn-shenzhen.aliyuncs.com/';
///正式环境
const releaseBaseUrl = 'http://rlapi.flexolinkai.com';
///服务器地址
///main.dart 启动后会判断当前的环境，并修改 baseUrl
String baseUrl = debugBaseUrl;
///注册
const registerApi = '/api/member/register';
///登录
const loginApi = '/saas/api/rlDoctor/login';
///发送验证码
const sendCodeApi = '/saas/api/code/send/sms';
///验证码登录
const smsLoginApi = '/saas/api/rlDoctor/sms/login';
///绑定微信
const bindWeChatApi = '/api/member/setWechat';
///重设密码
const resetPassApi = '/saas/api/rlDoctor/set/password';
///校验手机号
const verifyCodeApi = '/api/member/verify/code';
///新用户设置密码
const setPassApi = '/saas/api/rlDoctor/set/password';
///主页
const homeApi = 'home/index';
///睡眠报告详情
const sleepReportDetailApi = '/api/rlSleepReport/get/consumer/sleep/report/';
///睡眠报告列表
const sleepReportApi = 'rlSleepReport/get/';
///用户主页
const userInfoApi = '/api/member/index';
///用户信息
const getUserApi = '/api/member/get';
///修改用户信息
const setUserApi = '/api/member/set';
///睡眠记录
const sleepRecordApi = '/api/rlSleepReport/getMemberSleepReportList/';
///冥想记录
const meditationRecordApi = '/api/rlMeditation/getMeditationReportList/';//会返回全部
///冥想报告
const meditationReportApi = '/api/rlMeditationReport/get/';
///冥想趋势
const meditationTrendApi =
    '/api/rlMeditation/getDateMeditationReportDataStatistics/';
///版本检测
const upgradeVersionApi = '/api/rlVersion/not/login/get/';
///增加设备
const addDeviceApi = '/api/rlDevice/add';
///睡眠方案
const sleepSchemeApi = '/api/rlSleep/findByList/1/1';
///编辑睡眠方案
const editSleepSchemeApi = '/api/rlSleep/set';
///设备列表
// const deviceListApi = '/api/rlDevice/findByMemberAll';
// const deviceListApi = '/api/rlDevice/getDeviceType/';
///设备信息
const deviceInfoApi = '/api/rlDevice/get/';
///删除设备
// const delDeviceApi = '/api/rlDevice/del/';
const delDeviceApi = '/api/rlDevice/delDeviceType/';
///修改设备
const modifyDeviceApi = '/api/rlDevice/set/';
///阿里 sts
const stsApi = '/api/aliyun/get/sts';
///用户反馈
const feedbackApi = '/api/rlFeedback/add';
///获取冥想方案
const meditationSchemeApi = '/api/rlMeditationCourse/getMeditationCourseConfig';
///获取冥想课程
const meditationCourseApi = '/api/rlMeditationCourse/get/1';
///设置冥想方案
const setMeditationSchemeApi = '/api/rlMeditationCourse/setMeditationCourseConfig';
///获取睡眠音乐
const getSleepMusicApi = '/api/rlMusic/findByLabelId/2';
///获取推送偏好
const getPushApi = '/api/member/get/msg/config';
///提交推送偏好
const setPushApi = '/api/member/set/msg/config';
///通过微信code登录
const loginByWechatApi = "/api/member/wechatAuth/login";
///通过阿里云授权登录
const loginByAliApi = "/api/member/authMobile/login";
///消息推送
const sendWebSocketToAIO = '/api/member/send';
///阿里云推送
const sendWebSocketToAliyun = '/api/member/send/aliyun/msg';

///获取医生信息
const doctorInfoApi = '/saas/api/rlDoctor/getDoctor';
const hospitalApi = '/saas/api/rlDoctor/chooseHospital/';
const hospitalListApi = '/saas/api/rlHospitalInfo/findByHospitalList';
const hospitalConfigApi = '/saas/api/hospitalConfig/get';

///患者管理
const patientTemplateListApi = '/saas/api/rlSickPersonTemplate/findByList';
const patientTemplateDetailApi = '/saas/api/rlSickPersonTemplate/get/';
const patientListApi = '/saas/api/rlSickPerson/findByList/';
const addPatientApi = '/saas/api/rlSickPerson/add';
// const delPatientApi = '/saas/api/rlSickPerson/del/';
const delPatientApi = '/saas/api/rlSickPerson/delList';
const patientDetailApi = '/saas/api/rlSickPerson/get/';
const editPatientApi = '/saas/api/rlSickPerson/set';
const patientDeviceListApi = '/saas/api/rlSaaSDevice/findBySickPersonList';

///患者标签
const allPatientLabelApi = '/saas/api/shopLabel/findByAll';
const addPatientLabelApi = '/saas/api/rlSickPerson/setLabel';
const addAcquisitionPatientLabelApi = '/saas/api/rlSickPerson/setAcquisitionLabel';
const addReportLabelApi = '/saas/api/shopSaasReport/setLabel';

///报告模块
const reportListApi = '/saas/api/shopSaasReport/findByList/';
const reportDetailApi = '/saas/api/shopSaasReport/get/';
const resetStageApi = '/saas/api/shopSaasReport/setStageData';

///设备列表
const deviceListApi = '/saas/api/rlSaaSDevice/findByAll';
const deliveryDeviceApi = '/saas/api/rlSaaSDevice/set/sickPerson';
const unbindDeviceApi = '/saas/api/rlSaaSDevice/recycle';
const deviceDetailApi = '/saas/api/rlSaaSDevice/get/';
const deviceVersionApi = 'http://rlapi.flexolinkai.com/api/rlVersion/not/login/get/';



